@charset "utf-8";
$color_blue:#00c1de;
$color_font_gray:#b8bcbf;
.head_wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    cursor: default;
    max-height: 560px;
    overflow: hidden;
    z-index: 999;
}

.head_top {
    position: relative;
    height: 61px;
    background-color: transparent;
    border-bottom: 1px solid hsla(0, 0%, 100%, .15);
    transition: background-color .2s .5s;
}

.head_wrap:hover {
    .head_top {
        background-color: #373d41;
        transition: background-color .2s;
    }
}

.logo {
    position: relative;
    display: block;
    height: 60px;
    margin-left: 20px;
    margin-right: 50px;
    img {
        width: 96px;
        height: 23px;
        margin-top: 19px;
        &:nth-of-type(2n) {
            position: absolute;
            top: 0;
            left: 0;
        }
    }
}

.navi {
    ul {
        position: relative;
        li {
            position: relative;
            float: left;
            a {
                display: inline-block;
                height: 61px;
                line-height: 60px;
                font-size: 14px;
                padding: 0 16px;
            }
            img {
                position: absolute;
                right: 7px;
                top: 7px;
                width: 24px;
                pointer-events: none;
            }
        }
        #focus {
            position: absolute;
            pointer-events: none;
            width: 0;
            height: 3px;
            bottom: 0;
            left: 0;
            background-color: $color_blue;
            transition: all .3s cubic-bezier(.4, 0, .2, 1);
        }
    }
}

.head_An {
    position: relative;
    ul {
        li {
            font-size: 0;
            float: left;
            line-height: 60px;
            height: 60px;
            margin-right: 22px;
            text-align: center;
            a {
                font-size: 14px;
                transition: color .2s ease;
                &:hover {
                    color: $color_blue;
                }
            }
        }
        .register {
            margin-right: 0;
            a {
                display: block;
                width: 130px;
                height: 61px;
                background-color: $color_blue;
                transition: background-color .3s;
                &:hover {
                    color: white;
                    background-color: #28d0e9;
                }
            }
        }
    }
}

.search {
    position: absolute;
    height: 60px;
    left: -40px;
    top: 0;
    transform: translateX(0px);
    transition: all .3s ease-in-out;
    .search_content {
        text-align: center;
        margin-top: 16px;
        line-height: 30px;
        width: 34px;
        overflow: hidden;
        white-space: nowrap;
        background-color: transparent;
        transition: all .2s ease-in-out;
        i {
            font-size: 18px;
            font-weight: 500;
            margin: 0 8px;
            cursor: pointer;
        }
        input {
            width: 170px;
            height: 30px;
            font-size: 12px;
            line-height: 30px;
            border: none;
            color: $color_font_gray;
            background-color: transparent;
            outline: none;
            opacity: 0;
            transition: all .2s ease-in-out;
        }
    }
    &.activate {
        transform: translateX(-20px);
        .search_content {
            width: 208px;
            background-color: #4f5356;
            input {
                opacity: 1;
            }
        }
    }
}

.navi_page {
    position: relative;
    width: 100%;
    background-color: rgba(39, 44, 48, .98);
    overflow: hidden;
    height: 0;
    .page_content {
        opacity: 0;
        transform: translateY(-15px);
        transition: all .3s ease-in-out;
    }
    transition: height .2s cubic-bezier(0, 0, .2, 1) .2s;
    &.show {
        height: 520px;
        transition: height .2s cubic-bezier(.4, 0, 1, 1);
        .page_content {
            opacity: 1;
            transform: translateY(0);
        }
    }
    .page_content {
        position: relative;
        height: 520px;
        width: 100%;
    }
    .hidePage {
        position: absolute;
        bottom: 28px;
        left: 50%;
        z-index: 3;
        transform: translateX(-50%);
        opacity: .7;
        cursor: pointer;
        transition: opacity .5s ease;
        img {
            width: 22px;
        }
        &:hover {
            opacity: 1;
        }
    }
    .selContent {
        padding-top: 20px;
        width: 100%;
        height: 100%;
        display: none;
    }
}

.TabControl {
    height: 440px;
    >ul {
        position: relative;
        width: 141px;
        height: 100%;
        margin-right: 20px;
        border-right: 1px solid #40484d;
        >li {
            position: relative;
            line-height: 40px;
            height: 40px;
            width: 100%;
            padding-left: 20px;
            font-size: 14px;
            z-index: 2;
            >a {
                display: block;
                height: 100%;
                width: 100%;
            }
        }
        >#focus {
            position: absolute;
            width: 100%;
            height: 40px;
            background-color: $color_blue;
            top: 0;
            left: 0;
            transition: top .15s cubic-bezier(.4, 0, .2, 1);
        }
    }
    >.SelContent {
        position: relative;
        overflow: hidden;
        height: 100%;
        >div {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            display: none;
        }
    }
    &.big {
        >ul {
            width: 181px;
        }
    }
}

.extext {
    font-size: 14px;
    padding: 7px 0 0 21px;
    line-height: 21px;
    img {
        width: 28px;
        margin-left: 2px;
    }
}

.eotext {
    line-height: 18px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 5px 21px 0;
    color: #777f84;
    transition: color .2s;
}

.aWrap {
    display: block;
    height: 60px;
    margin-bottom: 10px;
    background-color: #303639;
    transition: background-color .2s;
    &:hover {
        background-color: $color_blue;
        .eotext {
            color: white;
        }
    }
}

.tpl1 {
    li {
        float: left;
        width: 320px;
        font-size: 12px;
        margin-right: 20px;
        >.childwrap {
            display: inline-block;
            width: 100%;
            margin-bottom: 10px;
            background-color: #303639;
        }
        .iteChild {
            padding: 0 0 10px 10px;
            a {
                float: left;
                width: 93px;
                text-align: center;
                height: 34px;
                line-height: 34px;
                margin: 10px 10px 0 0;
                border: 1px solid #73777a;
                transition: background-color .2s;
                &:hover {
                    background-color: $color_blue;
                    border: 1px solid $color_blue;
                }
            }
        }
    }
}

.tpl6 {
    width: 100%;
    li {
        position: relative;
        float: left;
        width: 33%;
        font-size: 12px;
        padding-right: 15px;
        .tpl6_But {
            opacity: 0;
            position: absolute;
            bottom: 10px;
            width: 100%;
            padding-right: 15px;
            transition: opacity .2s;
            a {
                display: block;
                float: left;
                line-height: 24px;
                height: 24px;
                background-color: #00b7d3;
                text-align: center;
                font-size: 12px;
            }
        }
        &:hover {
            .aWrap {
                background-color: $color_blue;
                .eotext {
                    color: white;
                }
            }
            .tpl6_But {
                opacity: 1;
                a {
                    &:hover {
                        background-color: #33cde5;
                    }
                }
            }
        }
    }
}

.extext2 {
    font-size: 14px;
    padding-top: 7px;
    line-height: 21px;
}

.eotext2 {
    margin-right: 20px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-top: 5px;
    color: #777f84;
    font-size: 12px;
    line-height: 18px;
    transition: color .2s;
}

.tpl2,
.tpl3,
.tpl5 {
    width: 1020px;
    >li {
        float: left;
        width: 25%;
        >a {
            display: block;
            font-size: 14px;
            margin-bottom: 10px;
            padding-left: 20px;
            cursor: default;
            font-weight: bold;
            line-height: 24px;
            font-style: normal;
            transition: color .2s ease;
            &.hover {
                cursor: auto;
                &:hover {
                    color: $color_blue;
                }
            }
        }
        >ul {
            >li {
                margin: 0 20px 10px 0;
                >a {
                    display: block;
                    width: 100%;
                    height: 60px;
                    line-height: inherit;
                    padding-left: 20px;
                    background-color: #303639;
                    transition: background-color .2s;
                    img {
                        width: 28px;
                    }
                    &.mini {
                        line-height: 40px;
                        height: 40px;
                        font-size: 14px;
                    }
                }
                &:hover {
                    >a {
                        background-color: $color_blue;
                        .eotext2 {
                            color: white;
                        }
                    }
                }
            }
        }
    }
}

.tpl3 {
    >li {
        width: 33%;
    }
}

.tpl5 {
    width: 100%;
    >li {
        width: 20%;
    }
}

div[key="community"],
div[key="market"] {
    .tpl2 {
        width: 100%;
        >li {
            width: 16.5%;
        }
    }
}

.tpl4 {
    width: 1020px;
    >li {
        padding-right: 20px;
        width: 33%;
        float: left;
        >a {
            line-height: 21px;
            height: 21px;
            display: block;
            font-size: 14px;
            margin-bottom: 10px;
            padding-left: 20px;
            //          cursor: default;
            font-weight: bolder;
            transition: color .2s ease;
            &:hover {
                color: $color_blue;
            }
        }
        >ul {
            margin-bottom: 10px;
            font-size: 0;
            >li {
                display: inline-block;
                margin-bottom: 10px;
                width: 100%;
                &.half {
                    padding-right: 5px;
                    width: 50%;
                    &:nth-of-type(2n) {
                        padding-right: 0;
                        padding-left: 5px;
                    }
                }
                >a {
                    width: 100%;
                    padding-right: 20px;
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    display: block;
                    height: 40px;
                    line-height: 40px;
                    font-size: 14px;
                    padding-left: 20px;
                    background-color: #303639;
                    transition: background-color .2s;
                    &:hover {
                        background-color: $color_blue;
                    }
                }
            }
        }
    }
}